using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._DataManagementTools._DisconnectedEditing
{
    /// <summary>
    /// <para>Export To Delta</para>
    /// <para>Exports changes in a check-out replica geodatabase to a delta file.</para>
    /// <para>将检出复本地理数据库中的更改导出到增量文件。</para>
    /// </summary>    
    [DisplayName("Export To Delta")]
    public class ExporttoDelta : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public ExporttoDelta()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_workspace">
        /// <para>Export from Check-out Workspace</para>
        /// <para></para>
        /// <para></para>
        /// </param>
        /// <param name="_dest_delta_database">
        /// <para>Export to Delta Database</para>
        /// <para></para>
        /// <para></para>
        /// </param>
        public ExporttoDelta(object _in_workspace, object _dest_delta_database)
        {
            this._in_workspace = _in_workspace;
            this._dest_delta_database = _dest_delta_database;
        }
        public override string ToolboxName => "Data Management Tools";

        public override string ToolName => "Export To Delta";

        public override string CallName => "management.ExporttoDelta";

        public override List<string> AcceptEnvironments => [];

        public override object[] ParameterInfo => [_in_workspace, _dest_delta_database];

        /// <summary>
        /// <para>Export from Check-out Workspace</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Export from Check-out Workspace")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_workspace { get; set; }


        /// <summary>
        /// <para>Export to Delta Database</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Export to Delta Database")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _dest_delta_database { get; set; }


        public ExporttoDelta SetEnv()
        {
            base.SetEnv();
            return this;
        }

    }

}